import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class Check extends JFrame {
	public Check() {
		setTitle("\u623F\u5C4B\u79DF\u51ED\u7BA1\u7406\u7CFB\u7EDF");
		getContentPane().setLayout(null);
		
		JButton btnNewButton = new JButton("\u5458\u5DE5\u7BA1\u7406");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new StaffManger().setVisible(true);
			}
		});
		btnNewButton.setBounds(161, 10, 93, 23);
		getContentPane().add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("\u623F\u5C4B\u7BA1\u7406");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new RoomManger().setVisible(true);
			}
		});
		btnNewButton_1.setBounds(161, 56, 93, 23);
		getContentPane().add(btnNewButton_1);
		
		JButton btnNewButton_2 = new JButton("\u9884\u7EA6\u7BA1\u7406");
		btnNewButton_2.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new AppointmentManger().setVisible(true);
			}
		});
		btnNewButton_2.setBounds(161, 103, 93, 23);
		getContentPane().add(btnNewButton_2);
		
		JButton btnNewButton_3 = new JButton("\u79DF\u623F\u7BA1\u7406");
		btnNewButton_3.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new RentManger().setVisible(true);
			}
		});
		btnNewButton_3.setBounds(161, 151, 93, 23);
		getContentPane().add(btnNewButton_3);
		
		JButton btnNewButton_4 = new JButton("\u540E\u53F0\u7EDF\u8BA1");
		btnNewButton_4.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new Statistics().setVisible(true);
			}
		});
		btnNewButton_4.setBounds(161, 198, 93, 23);
		getContentPane().add(btnNewButton_4);
		this.setSize(500, 300);
	}

}
